#ifndef QCIRCULARWIDGET_H
#define QCIRCULARWIDGET_H

#include "qabstractgraphics.h"

#include <QWidget>

class QCircularWidget : public QAbstractGraphicsWidget
{
    Q_OBJECT
public:
    explicit QCircularWidget(QWidget *parent = 0);
protected:
    void paintEvent(QPaintEvent *);
};


class QCircularWidgetHost : public QAbstractGraphicsHost
{
    Q_OBJECT
public:
    Q_INVOKABLE QCircularWidgetHost(QAbstractHost *parent = 0);

    static QString get_show_name();
    static QString get_show_icon();
    static QString get_show_group();
protected:
    void init_property();
protected:
    void    create_object();
};


#endif // QCIRCULARWIDGET_H
